<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>羔羊论坛-注册</title>
<link rel="icon" type="image/x-icon" href="img/sheep.ico" />
<link rel="stylesheet" type="text/css" href="css/register.css" />
</head>
<body>
	<form action= "UserServlet?op=reg"  method="post">
		<div class="head">
			<div class="log-title">欢 迎 注 册</div>
			<div class="have">
				已注册&nbsp;&nbsp;<a href="login.jsp"
					style="text-decoration: none; font-family: '华文新魏'">去登录</a>
			</div>
		</div>
		<hr
			style="height: 10px; border: none; border-top: 10px groove skyblue;">


		<div class="main" style="border: 1px">
			<div class="photo" style="background-image: url(img/regist/register.jpg)">
				<div class="form-item">
					<label>用&nbsp;&nbsp; 户&nbsp;&nbsp; 名</label>
					<txt
						style="position:absolute;z-index:2;line-height:36px;margin-left:20px;font-size:14px;font-family:'微软雅黑';
    display:inline;"></txt>
					<input type="text" class="field" autocomplete="off" maxlength="20"
						onblur="check()" name="username"
						style="margin-top: 20px" required> <label id="lable"><font
						size="2px" color=" #C0C0C0">用户名由字母、汉字、数字组成</font></label>
				</div>
				<div class="form-item">
					<label>设 置 密 码</label> <input class="field" type="password" autocomplete="off"
						maxlength="20" onblur="checkPwd()"  name="password"
						style="margin-top: 10px" required><label id="pwdLable"><font
						size="2px" color=" #C0C0C0">密码长度6-20位</font></label>
				</div>
				<div class="form-item">
					<label>密 码 确 认</label> <input class="field"  type="password" autocomplete="off"
						maxlength="20" onblur="repwdCheck()" id="repassword"
						name="repassword"  required> <label id="reLable"><font
						size="2px" color=" #C0C0C0">请再次输入密码</font></label>
				</div>
			</div>
			<div>
				<button class="register" type="submit" style="border: none">
					<a  style="text-decoration: none; color: black">立即注册</a>
				</button>
			</div>
		</div>
		<hr style="border-color: skyblue">
		<div class="bottom">
			<h1 style="font-family: '华文行楷'; font-size: 20px; text-align: center;line-height: 40px;">
				<b>&copy;Made By GaoYang</b>
			</h1>
		</div>
	</form>
</body>
</html>